package lianxi3;

public abstract class People {
    private String name;
    public People(){}

    public People(String name) {
        this.name = name;
    }

    public  void setName(String name){
        this.name = name;
    }

    public  String getName(){
        return this.name;
    }

    public abstract void doing();

    public String toString() {
        return "People{name = " + name + "}";
    }
}
